package com.yxs.school.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author whp
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserVo implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 用户名
     */
    @TableField("user_name")
    private String userName;




    /**
     * 邮箱
     */
    private String email;

    /**
     * 性别
     */
    private Boolean sex;


    /**
     * 注册时间
     */
    private String regTime;

    /**
     * 最后登录时间
     */
    private String lastLogin;

    private Integer discussCount;
}
